package org.topteam.esb.rpc;

import java.io.Serializable;

public class RpcEvent {

	public static class CallMethod implements Serializable {

		private static final long serialVersionUID = 3920630278722763151L;

		private String methodName;

		private Object[] params;

		public CallMethod(String methodName, Object[] params) {
			super();
			this.methodName = methodName;
			this.params = params;
		}

		private String beanName;

		public CallMethod(String methodName, Object[] params, String beanName) {
			super();
			this.methodName = methodName;
			this.params = params;
			this.beanName = beanName;
		}

		public String getMethodName() {
			return methodName;
		}

		public void setMethodName(String methodName) {
			this.methodName = methodName;
		}

		public Object[] getParams() {
			return params;
		}

		public void setParams(Object[] params) {
			this.params = params;
		}

		public String getBeanName() {
			return beanName;
		}

		public void setBeanName(String beanName) {
			this.beanName = beanName;
		}

	}

	public static class CallCount implements Serializable {

		private static final long serialVersionUID = -8854792976089209794L;

	}
}
